package org.asiainfo.common.mybatis.stream.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 获取服务应用名
 *
 * @author dotor-ww
 */
@Getter
@AutoConfiguration
@ComponentScan(basePackages = "org.asiainfo.common.mybatis.stream")
public class AppConfiguration {

    @Value("${spring.application.name}")
    private String applicationName;
}
